//Rectangle.h
//Contains the class definition for the Rectangle Class

#include <iostream>
#include "NonCircularShapes.h"

using namespace std;

#ifndef RECTANGLE_H
#define RECTANGLE_H

class Rectangle : public NonCircularShapes
{
public:
	Rectangle(const float &, const float &, float = 0.0, float = 0.0);

	void setWidth(float);
	float getWidth() const;

	void setLength(float);
	float getLength() const;

	void setArea(float, float);
	float getArea() const;

	void setPerim(float, float);
	float getPerim() const;

	virtual float area() const;
	virtual float perimeter() const;
	virtual float volume() const;
	
	//friend ostream& operator<< (ostream &out, Shape &shape);

private:
	float length;
	float width;
	float R_area;
	float R_perimeter;
	};

#endif